package com.hd.service.impl;

import com.hd.mapper.TreatmentMapper;
import com.hd.pojo.Treatment;
import com.hd.service.TreatmentService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by 1 on 2017/11/23.
 */
@Service("treatmentService")
@Transactional
public class TreatmentServiceImpl implements TreatmentService {

    @Resource
    private TreatmentMapper treatmentMapper;

    @Override
    public Treatment getMemberCase() {
        return treatmentMapper.search();
    }
}
